#define _CRT_SECURE_NO_WARNINGS 1 
#include "game.h"


/**/
void intBoard(char board[rows][cols],int Rows,int Cols,char set)
{
	for (int i = 0; i < Rows; i++)
	{
		for (int j = 0; j < Cols; j++)
		{
			board[i][j] = set;
		}
	}
}
/*ӡ*/
void DisplyBoard(char board[row][clo], int Row, int Clo)
{
	for (int i = 0; i < Row; i++)
	{
		for (int j=0; j < Clo; j++)
		{
			printf("%c",board[i][j]);
		}
		printf("\n");
	}
}

void game()
{
	char show[rows][cols];
	char mine[row][clo];
	intBoard(show, rows, cols,'1');
	intBoard(mine, rows, cols, '*');
	DisplyBoard(show, row, clo);
	
}
void show(char board[rows][cols],int Rows,int Cols)
{
	for (int i = 0; i < rows; i++)
	{
		for (int j = 0; j < cols; j++)
		{
			board[i][j] = "1";
		}
	}
}

void game()
{
	char board[rows][cols];
	show(board, rows, cols);

	printf("");

}